#include "mypushbutton.h"

MyPushButton::MyPushButton(QWidget *parent): QPushButton(parent)
{
    this->setStyleSheet("background-color:darkred;");
    QPalette Pal(this->palette());

    Pal.setColor(QPalette::ButtonText,Qt::white);
    this->setPalette(Pal);
}

MyPushButton::~MyPushButton(){

}
